Skip to content

Use newer cc-rs to fix Mac Catalyst bug#286

Closed
MikeChongCan wants to merge 1 commit into
BLAKE3-team:masterfrom
MikeChongCan:imWildCat/upgrade-cc
Closed

Use newer cc-rs to fix Mac Catalyst bug#286
MikeChongCan wants to merge 1 commit into
BLAKE3-team:masterfrom
MikeChongCan:imWildCat/upgrade-cc

Conversation

@MikeChongCan
Copy link
Copy Markdown

@MikeChongCan MikeChongCan commented Jan 16, 2023

We're using a quite old version of cc, where there was a hardcoded iOS version while targeting Mac Catalyst.

That version, ios13, is not supported by the latest clang anymore. The fix was merged in cc: rust-lang/cc-rs#727

@MikeChongCan MikeChongCan marked this pull request as ready for review January 16, 2023 05:56
@oconnor663
Copy link
Copy Markdown
Member

My understanding is that, because these versions are compatible, the newer one should get used automatically without any change to Cargo.toml. Is that wrong?

@MikeChongCan
Copy link
Copy Markdown
Author

@oconnor663 Oh, sorry! You're right, there's no need to upgrade it in Cargo.toml.

[[package]]
name = "cc"
version = "1.0.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d"

It will be resolved to the latest compatible version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants